c program to know the person eligible for vote or not